Skip to content

Conversation

@lfrancke
Copy link
Member

Description

This adds a curlrc file with sane defaults including retries etc. which can be used for all our Docker builds without having to specify all flags (e.g. fail) every time

Definition of Done Checklist

  • Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant
  • Please make sure all these things are done and tick the boxes
- [ ] Add an entry to the CHANGELOG.md file
- [ ] Integration tests ran successfully
TIP: Running integration tests with a new product image

The image can be built and uploaded to the kind cluster with the following commands:

bake --product <product> --image-version <stackable-image-version>
kind load docker-image <image-tagged-with-the-major-version> --name=<name-of-your-test-cluster>

See the output of bake to retrieve the image tag for <image-tagged-with-the-major-version>.

This adds a curlrc file with sane defaults including retries etc. which can be used for all our Docker builds without having to specify all flags (e.g. fail) every time
NickLarsenNZ
NickLarsenNZ previously approved these changes Sep 17, 2024
Copy link
Member

@NickLarsenNZ NickLarsenNZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lfrancke
Copy link
Member Author

I'm running a few tests before "officially" requesting a review but thank you very much for jumping on it!

@lfrancke lfrancke self-assigned this Sep 17, 2024
@NickLarsenNZ NickLarsenNZ self-requested a review September 18, 2024 07:21
Copy link
Member

@NickLarsenNZ NickLarsenNZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just some lint errors:

testing-tools/Dockerfile:26 DL3008 warning: Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
testing-tools/Dockerfile:61 DL3013 warning: Pin versions in pip. Instead of `pip install <package>` use `pip install <package>==<version>` or `pip install --requirement <requirements file>`
airflow/Dockerfile:44 DL3013 warning: Pin versions in pip. Instead of `pip install <package>` use `pip install <package>==<version>` or `pip install --requirement <requirements file>`

I'm unsure what we want to do with those. Pin the apt packages, or set an ignore rule?

@lfrancke
Copy link
Member Author

I don't know...it's been something I've been meaning to look at for ages but didn't get around to yet.

@lfrancke lfrancke added this pull request to the merge queue Sep 18, 2024
Merged via the queue into main with commit 1856397 Sep 18, 2024
1 of 2 checks passed
@lfrancke lfrancke deleted the feat/curlrc branch September 18, 2024 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants